package com.sdb.schedule.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sdb.common.annotation.Excel;
import com.sdb.common.core.domain.BaseEntity;

/**
 * 排班信息对象 td_schedule
 * 
 * @author yyh
 * @date 2024-12-26
 */
public class TdSchedule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 排班id */
    private Long id;

    /** 医生id */
    @Excel(name = "医生id")
    private Long docterId;

    /** 医生姓名 */
    @Excel(name = "医生姓名")
    private String docterName;

    /** 排班日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "排班日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date scheduleDate;

    /** 时间段 */
    @Excel(name = "时间段")
    private Long time;

    /** 科室id */
    @Excel(name = "科室id")
    private Long departmentId;

    /** 号源 */
    @Excel(name = "号源")
    private Long count;

    @Excel
    private Long sycount;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDocterId(Long docterId) 
    {
        this.docterId = docterId;
    }

    public Long getDocterId() 
    {
        return docterId;
    }
    public void setDocterName(String docterName) 
    {
        this.docterName = docterName;
    }

    public String getDocterName() 
    {
        return docterName;
    }
    public void setScheduleDate(Date scheduleDate) 
    {
        this.scheduleDate = scheduleDate;
    }

    public Date getScheduleDate() 
    {
        return scheduleDate;
    }
    public void setTime(Long time) 
    {
        this.time = time;
    }

    public Long getTime() 
    {
        return time;
    }
    public void setDepartmentId(Long departmentId) 
    {
        this.departmentId = departmentId;
    }

    public Long getDepartmentId() 
    {
        return departmentId;
    }
    public void setCount(Long count) 
    {
        this.count = count;
    }

    public Long getCount() 
    {
        return count;
    }

    public Long getSycount() {
        return sycount;
    }

    public void setSycount(Long sycount) {
        this.sycount = sycount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("docterId", getDocterId())
            .append("docterName", getDocterName())
            .append("scheduleDate", getScheduleDate())
            .append("time", getTime())
            .append("createTime", getCreateTime())
            .append("departmentId", getDepartmentId())
            .append("count", getCount())
                .append("sycount", getSycount())
            .toString();
    }
}
